package com.atguigu.gulimall.search.service;

import com.atguigu.common.to.es.SkuEsModel;

import java.io.IOException;
import java.util.List;

/**
 * 商品ES操作
 *
 * @author DuGuanghan
 * @since 2024-04-09 14:30:47
 */
public interface ElasticProductService {

    /**
     * 上架商品
     *
     * @param skuEsModelList SKU
     * @author DuGuanghan
     * @since 2024-04-09 14:31:17
     */
    Boolean saveSpu(List<SkuEsModel> skuEsModelList) throws IOException;
}
